package nc.ui.hgts.priceapprove;

import nc.ui.fmpub.buttons.IFmpubDefButton;
import nc.ui.hgts.bill.pub.HGTSManageController;
import nc.ui.hgts.priceapprove.command.CopyAddCommand;
import nc.ui.trade.businessaction.IBusinessActionType;
import nc.ui.trade.button.IBillButton;
import nc.vo.priceapprove.AggPriceApproveVO;
import nc.vo.priceapprove.PriceApproveBVO;
import nc.vo.priceapprove.PriceApproveHVO;

public class ClientUICtrl extends HGTSManageController {

	public String[] getCardBodyHideCol() {
		return null;
	}

	public int[] getCardButtonAry() {
	
        return new int[]{				
//				IBillButton.Busitype,
				IBillButton.Add,
				nc.ui.trade.button.IBillButton.Query,
				nc.ui.trade.button.IBillButton.Save,
				IFmpubDefButton.Maintain,
				nc.ui.trade.button.IBillButton.Line,
				CopyAddCommand.BUTTON_NO,
				nc.ui.trade.button.IBillButton.Refresh,
				IFmpubDefButton.FmpubAction,				
				nc.ui.trade.button.IBillButton.Return,
             };
  
	}
	
	public int[] getListButtonAry() {		
	
        return new int[]{				
				IBillButton.Add,
				nc.ui.trade.button.IBillButton.Query,
				nc.ui.trade.button.IBillButton.Save,
				IFmpubDefButton.Maintain,
				nc.ui.trade.button.IBillButton.Line,
				CopyAddCommand.BUTTON_NO,
				nc.ui.trade.button.IBillButton.Refresh,
				IFmpubDefButton.FmpubAction,				
				nc.ui.trade.button.IBillButton.Card,
        };
	
	}

	public boolean isShowCardRowNo() {
		return true;
	}

	public boolean isShowCardTotal() {
		return false;
	}

	public String getBillType() {
		return "PAPP";
	}

	public String[] getBillVoName() {
		return new String[]{
				AggPriceApproveVO.class.getName(),
				PriceApproveHVO.class.getName(),
				PriceApproveBVO.class.getName()
		};
	}

	public String getBodyCondition() {
		return null;
	}

	public String getBodyZYXKey() {
		return null;
	}

	public int getBusinessActionType() {
		return IBusinessActionType.PLATFORM;
	}

	public String getChildPkField() {
		return PriceApproveBVO.PK_PRICEAPPROVE_B;
	}

	public String getHeadZYXKey() {
		return null;
	}

	public String getPkField() {
		return PriceApproveHVO.PK_PRICEAPPROVE;
	}

	public Boolean isEditInGoing() throws Exception {
		return null;
	}

	public boolean isExistBillStatus() {
		return true;
	}

	public boolean isLoadCardFormula() {		
		return false;
	}

	public String[] getListBodyHideCol() {	
		return null;
	}

	public String[] getListHeadHideCol() {		
		return null;
	}

	public boolean isShowListRowNo() {		
		return true;
	}

	public boolean isShowListTotal() {
		return false;
	}
	
	
}
